/*!
 * Copyright(c) 2010, http://www.mcdconsultingllc.com
 * 
 * Licensed under the terms of the Open Source LGPL 3.0
 * http://www.gnu.org/licenses/lgpl.html
 * @author Sean McDaniel <sean@mcdconsulting.com>
 */
.iPhoneCheckContainer, .iPhoneCheckContainer label {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none; 
}

.iPhoneCheckContainer {
    position: relative;
    height: 27px;
    cursor: pointer;
    overflow: hidden;
	margin-left: 1px;
	margin-right: 2px;
}

.iPhoneCheckDisabled {
	filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
	cursor:default;
}

.iPhoneCheckContainer label {
    white-space: nowrap;
    font-size: 11px;
    line-height: 17px;
    font-weight: bold;
    font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
	/*cursor: pointer;*/
    display: block;
    height: 18px;
    position: absolute;
    width: auto;
    top: 0;
    padding-top: 1px;
    overflow: hidden;
}

label.iPhoneCheckLabelOn {
    color: #fff;
    background: url(../images/iphone-style-checkboxes/on.png) no-repeat;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.6);
    left: 0;
}
label.iPhoneCheckLabelOn span {
    padding-left: 8px; 
}
label.iPhoneCheckLabelOff {
    color: #8B8B8B;
    background: url(../images/iphone-style-checkboxes/off.png) no-repeat right 0;
    text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.6);
    text-align: right;
    right: 0; 
}
label.iPhoneCheckLabelOff span {
    padding-right: 8px; 
}
    
.iPhoneCheckHandle {
    display: block;
    height: 27px;
    /*cursor: pointer;*/
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    background: url(../images/iphone-style-checkboxes/slider_left.png) no-repeat;
    padding-left: 3px; 
}
.iPhoneCheckHandleRight {
    height: 100%;
    width: 100%;
    padding-right: 3px;
    background: url(../images/iphone-style-checkboxes/slider_right.png) no-repeat right 0; 
}
.iPhoneCheckHandleCenter {
    height: 100%;
    width: 100%;
    background: url(../images/iphone-style-checkboxes/slider_center.png); 
}





.layerlist .iPhoneCheckContainer {
    height: 16px;
}

.layerlist .iPhoneCheckContainer label {
	height: 16px;
    line-height: 16px;
}

.layerlist label.iPhoneCheckLabelOn {
    background: url(../images/iphone-style-checkboxes/on-16.png) no-repeat;
}

.layerlist label.iPhoneCheckLabelOn span {
    padding-left: 6px; 
}

.layerlist label.iPhoneCheckLabelOff {
    background: url(../images/iphone-style-checkboxes/off-16.png) no-repeat right 0;
}

.layerlist label.iPhoneCheckLabelOff span {
    padding-left: 2px; 
    padding-right: 4px; 
}

.layerlist .iPhoneCheckHandle {
    height: 16px;
    background: url(../images/iphone-style-checkboxes/slider_left-16.png) no-repeat;
}

.layerlist .iPhoneCheckHandleRight {
    background: url(../images/iphone-style-checkboxes/slider_right-16.png) no-repeat right 0; 
}

.layerlist .iPhoneCheckHandleCenter {
    background: url(../images/iphone-style-checkboxes/slider_center-16.png); 
}

.layerlist-right .iPhoneCheckLabelOn  {
    text-align: left;
}